//
//  LBSSharedData.h
//  LBSYunDemo
//
//  Created by RetVal on 4/3/13.
//  Copyright (c) 2013 RetVal. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

/*
 用于全局信息的保存和共享，与请求无关
 */
@interface LBSSharedData : NSObject
+ (id)sharedData;
@property (assign, atomic) NSUInteger regionIdx;
@property (assign, atomic) NSUInteger priceRangeIdx;
@property (assign, atomic) NSUInteger rentalTypeIdx;
@property (assign, atomic) NSUInteger locationTypeIdx;

@property (assign, atomic) NSUInteger currentIndex;
@property (assign, atomic) NSUInteger currentPageSize;
@property (assign, atomic) CLLocationCoordinate2D currentCoordinate2D;
- (id)lastResult;
- (void)setResult:(id)result;
@end
